home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 5 / Apprentice-Release5.iso / Environments / Prograph Classic 2.6.1 / Prograph Reference Manual / Prograph Reference 5-7 / Prograph Reference 5-7.rsrc / TEXT_166.txt < prev    next >
Encoding:
Text File  |  1995-10-25  |  4.7 KB  |  246 lines

  1.  
  2.  Logical/Relational
  3.  
  4. Logical primitives perform standard boolean operations on boolean inputs. Relational primitives compare numbers and strings only. 
  5.  
  6.  
  7. _________________________________________________
  8.  
  9.                                       <     *295*
  10.  
  11.  
  12. Input names: Item1;  Item2
  13.  
  14. Input types: (string ; string) | (<number> ; <number>)
  15.  
  16. Output names: [Result]
  17.  
  18. Output types: [boolean]
  19.  
  20. Description:     Result is TRUE if Item1 is less than Item2.
  21.  
  22. See also:  >, =, ‚â†, ‚â§, ‚â•
  23.  
  24.  
  25. _________________________________________________
  26.  
  27.                                       <=     *295*
  28.  
  29.  
  30. Input names: Item1;  Item2
  31.  
  32. Input types: (string ; string) | (<number> ; <number>)
  33.  
  34. Output names: [Result]
  35.  
  36. Output types: [boolean]
  37.  
  38. Description:     Result is TRUE if Item1 is less than or equal to Item2.
  39.  
  40. Alias: ‚â§
  41.  
  42. See also:  <, >, =, ‚â†, ~=,, ‚â•
  43.  
  44.  
  45. _________________________________________________
  46.  
  47.                                      =     *295*
  48.  
  49.  
  50. Input names: Item1;  Item2
  51.  
  52. Input types: <any>;  <any>
  53.  
  54. Output names: [Result]
  55.  
  56. Output types: [boolean]
  57.  
  58. Description:     If Item1 and Item2 are instances of classes, Result is TRUE if Item1 and Item2 are located at the same address. If Item1 and Item2 are of type macintosh, Result is TRUE if value fields of Item1 and Item2 are equal. Otherwise, Result is TRUE if Item1 and Item2 are equal, or in the case of lists, all corresponding components of Item1 and Item2 are equal.
  59.  
  60. See also:  <, >, ‚â†, ‚â§, ‚â•
  61.  
  62.  
  63. _________________________________________________
  64.  
  65.                                   >     *296*
  66.  
  67.  
  68. Input names: Item1;  Item2
  69.  
  70. Input types: (string ; string) | (<number> ; <number>)
  71.  
  72. Output names: [Result]
  73.  
  74. Output types: [boolean]
  75.  
  76. Description:     Result is TRUE if Item1 is greater than Item2.
  77.  
  78. See also:  <, =, ‚â†, ‚â§, ‚â•
  79.  
  80.  
  81. _________________________________________________
  82.  
  83.                               >=     *296*
  84.  
  85.  
  86. Input names: Item1;  Item2
  87.  
  88. Input types: (string ; string) | (<number> ; <number>)
  89.  
  90. Output names: [Result]
  91.  
  92. Output types: [boolean]
  93.  
  94. Description:     Result is TRUE if Item1 is greater than or equal to Item2.
  95.  
  96. Alias: ‚â•
  97.  
  98. See also:  <, >, =, ‚â†, ‚â§
  99.  
  100.  
  101. _________________________________________________
  102.  
  103.                                           and     *297*
  104.  
  105.  
  106. Input names: Boolean1;  Boolean2;  [Boolean3;  ...]
  107.  
  108. Input types: boolean;  boolean;  [boolean;  ...]
  109.  
  110. Output names: [Result]
  111.  
  112. Output types: [boolean]
  113.  
  114. Description:     Result is the logical AND of Boolean1, Boolean2,‚Ķ
  115.  
  116. See also:  or, xor, not
  117.  
  118.  
  119. _________________________________________________
  120.  
  121.                       not     *297*
  122.  
  123.  
  124. Input names: aBoolean
  125.  
  126. Input types: boolean
  127.  
  128. Output names: Result
  129.  
  130. Output types: boolean
  131.  
  132. Description:     Result is the logical negation of aBoolean.
  133.  
  134. See also:  and, or, xor
  135.  
  136.  
  137. _________________________________________________
  138.  
  139.                                     or     *297*
  140.  
  141.  
  142. Input names: Boolean1;  Boolean2;  [Boolean3;  ...]
  143.  
  144. Input types: boolean;  boolean;  [boolean;  ...]
  145.  
  146. Output names: [Result]
  147.  
  148. Output types: [boolean]
  149.  
  150. Description:     Result is the logical OR of Boolean1, Boolean2,‚Ķ. 
  151.  
  152. See also:  and, xor, not
  153.  
  154.  
  155. _________________________________________________
  156.  
  157.                               xor     *298*
  158.  
  159. Input names: Boolean1;  Boolean2
  160.  
  161. Input types: boolean;  boolean
  162.  
  163. Output names: [Result]
  164.  
  165. Output types: [boolean]
  166.  
  167. Description:     Result is the XOR (exclusive OR) of Boolean1 and Boolean2.
  168.  
  169. See also:  and, or, not
  170.  
  171.  
  172. _________________________________________________
  173.  
  174.                             ~=     *298*
  175.  
  176.  
  177. Input names: Item1;  Item2
  178.  
  179. Input types: <any>;  <any>
  180.  
  181. Output names: [Result]
  182.  
  183. Output types: [boolean]
  184.  
  185. Description:     Result is the logical negation of the value that would be computed by the primitive = from inputs Item1 and Item2.
  186.  
  187. Alias: ‚â†
  188.  
  189. See also:  <, >, =, ‚â§, ‚â•
  190.  
  191.  
  192. _________________________________________________
  193.  
  194.                                ‚↠    *298*
  195.  
  196.  
  197. Input names: Item1;  Item2
  198.  
  199. Input types: <any>;  <any>
  200.  
  201. Output names: [Result]
  202.  
  203. Output types: [boolean]
  204.  
  205. Description:     Result is the logical negation of the value that would be computed by the primitive = from inputs Item1 and Item2.
  206.  
  207. Alias: ~=
  208.  
  209. See also:  <, >, =, ‚â§, ‚â•
  210.  
  211.  
  212. _________________________________________________
  213.  
  214.                                  ‚â§     *299*
  215.  
  216.  
  217. Input names: Item1;  Item2
  218.  
  219. Input types: (string ; string) | (<number> ; <number>)
  220.  
  221. Output names: [Result]
  222.  
  223. Output types: [boolean]
  224.  
  225. Description:     Result is TRUE if Item1 is less than or equal to Item2.
  226.  
  227. See also:  <, >, =, ‚â†, ‚â•
  228.  
  229.  
  230. _________________________________________________
  231.  
  232.                                 ‚â•     *299*
  233.  
  234.  
  235. Input names: Item1;  Item2
  236.  
  237. Input types: (string ; string) | (<number> ; <number>)
  238.  
  239. Output names: [Result]
  240.  
  241. Output types: [boolean]
  242.  
  243. Description:     Result is TRUE if Item1 is greater than or equal to Item2.
  244.  
  245. See also:   <, >, =, ‚â†, ‚â§
  246.